Skip to content

fix(core,agent,hooks,theme): add 'use client' directives for RSC compatibility#20

Merged
barney-w merged 1 commit into
mainfrom
fix/use-client-directives
Mar 8, 2026
Merged

fix(core,agent,hooks,theme): add 'use client' directives for RSC compatibility#20
barney-w merged 1 commit into
mainfrom
fix/use-client-directives

Conversation

@barney-w

@barney-w barney-w commented Mar 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds 'use client' directives to all interactive components and hooks across @surf-kit/core, @surf-kit/agent, @surf-kit/hooks, and @surf-kit/theme
  • Ensures packages are compatible with React Server Components when consumed in Next.js App Router projects
  • Updates tsup.config.ts in each affected package to preserve the directive in the compiled output
  • Includes a changeset for a patch release across all four packages

@barney-w
barney-w merged commit d1b5801 into main Mar 8, 2026
8 checks passed
@barney-w
barney-w deleted the fix/use-client-directives branch March 8, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant